projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f28f0d
)
Use doc-view or pdf-tools on any window-system
author
Mark Oteiza
<mvoteiza@udel.edu>
Sun, 17 Sep 2017 23:37:08 +0000
(19:37 -0400)
committer
Mark Oteiza
<mvoteiza@udel.edu>
Sun, 17 Sep 2017 23:39:35 +0000
(19:39 -0400)
* lisp/net/mailcap.el (mailcap-mime-data): Simply check for
window-system.
lisp/net/mailcap.el
patch
|
blob
|
history
diff --git
a/lisp/net/mailcap.el
b/lisp/net/mailcap.el
index 031d8e1ff0569b3448a3482423313a1b729e94ff..86587466ef5538e942771f16a4fc3aaf427c4452 100644
(file)
--- a/
lisp/net/mailcap.el
+++ b/
lisp/net/mailcap.el
@@
-167,11
+167,11
@@
is consulted."
("pdf"
(viewer . pdf-view-mode)
(type . "application/pdf")
- (test .
(eq window-system 'x)
))
+ (test .
window-system
))
("pdf"
(viewer . doc-view-mode)
(type . "application/pdf")
- (test .
(eq window-system 'x)
))
+ (test .
window-system
))
("pdf"
(viewer . "gv -safer %s")
(type . "application/pdf")